//package com.mida.dms.knw.config;
//
//import org.springframework.context.annotation.Configuration;
//
//
//@Configuration
//@EnableWebMvc
//public class DtWebConfig extends WebMvcConfigurationSupport {
//
//	@Override
//    public void addCorsMappings(CorsRegistry registry) {
//        registry.addMapping("/**")
//                .allowedOrigins("*")
//                .allowedMethods("POST", "GET", "PUT", "OPTIONS", "DELETE")
//                .maxAge(3600)
//                .allowCredentials(true);
//    }
//
//	@Override
//	public void addResourceHandlers(ResourceHandlerRegistry registry) {
////		registry.addResourceHandler("/swagger-ui/**")
////        .addResourceLocations("classpath:/META-INF/resources/webjars/springfox-swagger-ui/");
//
//    }
//}
